package com.example.oppo.utils;

import android.util.Log;

public class LogUtils {
    public static final boolean DEBUG = false;

    private static final int V = 1;
    private static final int D = 2;
    private static final int I = 3;
    private static final int E = 4;

    public static  final int LEVEL=D;
    public static void d(String tag, String msg) {
        if (LEVEL<=D) {
            Log.d(tag, msg);
        }
    }

    public static void i(String tag, String msg) {
        if (LEVEL<=I) {
            Log.i(tag, msg);
        }
    }

    public static void e(String tag, String msg) {
        if (LEVEL<=E) {
           Log.e(tag,msg);
        }
    }


    public void v(){

    }
}
